package ylsb.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ylsb.model.Tiwaijieguo;
import ylsb.model.TiwaijieguoExample;

public interface TiwaijieguoMapper {

    List<Map<String, Object>> findByxiangmuId(@Param("xiangmuid") String mmxiangmuId);


    Object getTiWaiResultCount(@Param("xiangmuid") String mmxiangmuId,
                                       @Param("userid") String mmuserId,
                                       @Param("result") String mmresult);

    int countByExample(TiwaijieguoExample example);

    int deleteByExample(TiwaijieguoExample example);

    int insert(Tiwaijieguo record);

    int insertSelective(Tiwaijieguo record);

    List<Tiwaijieguo> selectByExample(TiwaijieguoExample example);

    int updateByExampleSelective(@Param("record") Tiwaijieguo record, @Param("example") TiwaijieguoExample example);

    int updateByExample(@Param("record") Tiwaijieguo record, @Param("example") TiwaijieguoExample example);

    int updateByPrimaryKeySelective(Tiwaijieguo record);
}